<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link href="{SKIN_PATH}modal.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>

<script type="text/javascript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="main">
    	
        {template 'menu.html','member'} 
        
        <div class="mod">
             
            <div class="body">
                <form action="" method="post" name="myform">
                <table>
                  <tr>
                    <th width="20%">用户名：</th>
                    <td width="80%"><strong>{$username}</strong></td>
                  </tr>
                  <tr>
                    <th>原密码：</th>
                    <td><input name="old_password" type="password" id="old_password" size="15" require="true" datatype="limit" min="6" max="16" msg="密码不得少于6个字符或超过16个字符！" /></td>
                  </tr>
                  <tr>
                    <th>新密码：</th>
                    <td><input name="new_password" type="password" id="new_password" size="15" require="true" datatype="limit" min="6" max="16" msg="密码不得少于6个字符或超过16个字符！" /></td>
                  </tr>
                  <tr>
                    <th>密码强度：</th>
                    <td><div id="pw_check_1" class="pw_check" style="display:none;"><span><strong class="c_orange">弱</strong></span><span>中</span><span>强</span></div>
                      <div id="pw_check_2" class="pw_check" style="display:none;"><span>弱</span><span><strong class="c_orange">中</strong></span><span>强</span></div>
                      <div id="pw_check_3" class="pw_check" style="display:none;"><span>弱</span><span>中</span><span><strong class="c_orange">强</strong></span></div></td>
                  </tr>
                  <tr>
                    <th>确认新密码：</th>
                    <td><input name="chk_password" type="password" id="chk_password" size="15" require="true" datatype="limit|repeat"  min="6" max="16" to="new_password" msg="密码不得少于6个字符或超过16个字符|两次输入的密码不一致" /></td>
                  </tr>
                  <tr>
                    <input type="hidden" name="forward" value="{$forward}" />
                    <input type="hidden" name="username" value="{$username}" />
                    <th></th>
                    <td colspan="2"><label>
                      <input type="submit" name="dosubmit" value="确 定" id="button" />
                      &nbsp;
                      <input type="reset" name="reset" value="重 置" />
                      </label></td>
                  </tr>
                </table>
              </form>
            </div>
        </div> 
    </div>
    
    <div class="aside">
    	{template "left.html", "member"}
    </div>
</div>


{template 'footer.html'}


<script language="javascript">
$().ready(function() {
	$('form').checkForm(1);
});
</script>
